package ooday03.ZooPro;

abstract public class Animal {
    public int age;
    public String name;
    public String color;
    Animal(String name, String color,int age){
        this.age=age;
        this.name=name;
        this.color=color;
    }
    public abstract void eat();
    public void drink(){
        System.out.println(name+"在喝水...");
    }
}
